n=int(input("请输入一个数"))
if n%2==0:
    print(n,"是偶数")
else:
    print(n,"不是偶数")

def even(n):
    if n % 2 ==0:
        print(f"{n}是偶数")
    else:
        print(f"{n}不是偶数")
print(even(6))
